 function firstfocus() 

  { 

  var ufn = document.registration.fn.focus(); 

  return true; 

  }  

  function fn_validation(mw,my) 

  { 

  var ufn = document.registration.fn;
  
  var letters = /^[A-Za-z]+$/;

  //var uid_len = uid.value.length; 
  
   if(ufn.value.match(letters)) 

  {  

  document.registration.address.focus(); 

  return true; 

  } 

  else 

  { 

  alert('Username only character'); 

  ufn.focus(); 

  return false; 

  /*if (uid_len == 0 || uid_len >= my || uid_len < mw) 

  { 

  alert("Please enter your First Name"); // Please enter First Name/minimum character "+mw+" to "+my

  uid.focus(); 

  return false;*/ 

  }
  
  var uid =document.registration.ln.focus();
  
  return true;
  
  }
  
  function ln_validation(mw,my)
  
  {
	  
  var uid =document.registration.ln;
	
  var uid_len = uid.value.length;

  if (uid_len == 0 || uid_len >= my || uid_len <mw)
  
	{
		alert("Please enter your last Name");
		
		uid.focus();
		
		return false;
	}
	  

  }